{% comment %}
<!--
  Copyright (C) 2008 ZHENG Zhong <heavyzheng nospam-at gmail D0T com>
  - http://heavyz.blogspot.com/
  - http://buggarden.blogspot.com/
  
  Professional experiences in curriculum vitae.
  
  Created on 2008-11-24.
  $Id: cv_experiences.html 26 2009-08-04 22:06:00Z guolin.mobi $
-->
{% endcomment %}

{% load i18n %}

<div id="cv_experiences" class="section">

  {% if cv.experiences %}
  
    <div class="section-header">Professional Experiences</div>
    <div class="section-content">
      <table class="name-value-table">
        {% for experience in cv.professional_experiences %}
          <tr>
            <td class="name-cell">{{ entry.time }}</td>
            <td class="value-cell">
              <div class="entry-summary">{{ entry.summary|escape }}</div>
              {% if entry.details %}
                <div class="entry-details">{{ entry.details|escape|linebreaks }}</div>
              {% endif %}
            </td>
          </tr>
        {% endfor %}
      </table>
    </div>
  
  {% else %}
  
    {% if profile.is_current_user_owner %}
      <div class="section-header section-missing">Professional Experiences</div>
      <div class="section-content section-missing">
        <i>Professional experiences are missing in this curriculum vitae.</i>
      </div>
    {% endif %}
  
  {% endif %}
  
  {% if profile.is_current_user_owner %}
    <div class="section-edit-toggle">
      <a href="#">[edit]</a>
    </div>
  {% endif %}

</div><!--/#cv_experiences-->



